import 'package:flutter/material.dart';
import 'package:flutter_example/widgets/JButton.dart';

class UserInfoPage extends StatefulWidget {
  const UserInfoPage({super.key});

  @override
  State<UserInfoPage> createState() => _UserInfoPageState();
}

class _UserInfoPageState extends State<UserInfoPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('User Info'),
        centerTitle: true,
      ),
      body: const Center(
        child: AnimatedButton(
          text: '点我',
        ),
      ),
    );
  }
}
